/**
 * ReportGear(2011)
 */
package com.reportgear.report.setting;

/**
 * 应用程序上下文
 * 
 * @version 1.0 2011-4-17
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since Report 1.0
 */
public enum ApplicationContext {
	INSTANCE;

	private boolean applet = false;

	/**
	 * 设置是否为applet环境，默认为否
	 * 
	 * @param applet
	 *            是否applet
	 */
	public void setApplet(boolean applet) {
		this.applet = applet;
	}

	/**
	 * @return 获取是否applet环境
	 */
	public boolean isApplet() {
		return applet;
	}

}
